package com.taihua.spring;

public class Bean3Factory {
    //用静态工厂方法进行实例化
    public Bean3Factory(){
        System.out.println("这是Bean2Factory");
    }
    public static Bean2 createBean(){
        return new Bean2();
    }
}
